from relex.generators.text import TextGenerator
		
class TGLexPartType(TextGenerator):
	def generate(self):
		for part in self.qresult:
			yield '%s %s %s\n' %(part.id, part.name, part.levelno)
